package com.atguigu.springcloud;

import com.atguigu.springcloud.mapper.StorageMapper;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @author 赵赳
 * @CreateTime: 2021/3/7 15:26
 * @Description:
 */
@SpringBootTest
@RunWith(SpringRunner.class)
public class MapperTest01{

    @Autowired
    private StorageMapper storageMapper;

    @Test
    public void test03(){
        storageMapper.decrease(1l,10);
    }
}
